3.869 \(\int \frac{1}{\sqrt [3]{1-x} \sqrt [3]{2-x} x^2} \, dx\)

Optimal. Leaf size=796 \[ -\frac{\sqrt{3} \tan ^{-1}\left (\frac{\sqrt [3]{2} (2-x)^{2/3}}{\sqrt{3} \sqrt [3]{1-x}}+\frac{1}{\sqrt{3}}\right )}{4 \sqrt [3]{2}}+\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{4 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}-\frac{\sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{2^{5/6} \sqrt [4]{3} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{3 \log \left (\frac{(2-x)^{2/3}}{2^{2/3}}-\sqrt [3]{1-x}\right )}{8 \sqrt [3]{2}}-\frac{\log (x)}{4 \sqrt [3]{2}}-\frac{(1-x)^{2/3} (2-x)^{2/3}}{2 x}-\frac{\sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{2 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )} \]

[Out]

-((1 - x)^(2/3)*(2 - x)^(2/3))/(2*x) - (Sqrt[(3 - 2*x)^2]*Sqrt[(-3 + 2*x)^2]*(2
- 3*x + x^2)^(1/3))/(2*2^(1/3)*(3 - 2*x)*(1 - x)^(1/3)*(2 - x)^(1/3)*(1 + Sqrt[3
] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))) - (Sqrt[3]*ArcTan[1/Sqrt[3] + (2^(1/3)*(2 -
x)^(2/3))/(Sqrt[3]*(1 - x)^(1/3))])/(4*2^(1/3)) + (3^(1/4)*Sqrt[2 - Sqrt[3]]*Sqr
t[(-3 + 2*x)^2]*(2 - 3*x + x^2)^(1/3)*(1 + 2^(2/3)*(2 - 3*x + x^2)^(1/3))*Sqrt[(
1 - 2^(2/3)*(2 - 3*x + x^2)^(1/3) + 2*2^(1/3)*(2 - 3*x + x^2)^(2/3))/(1 + Sqrt[3
] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))^2]*EllipticE[ArcSin[(1 - Sqrt[3] + 2^(2/3)*(2
 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))], -7 - 4*Sqrt
[3]])/(4*2^(1/3)*(3 - 2*x)*Sqrt[(3 - 2*x)^2]*(1 - x)^(1/3)*(2 - x)^(1/3)*Sqrt[(1
 + 2^(2/3)*(2 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))^
2]) - (Sqrt[(-3 + 2*x)^2]*(2 - 3*x + x^2)^(1/3)*(1 + 2^(2/3)*(2 - 3*x + x^2)^(1/
3))*Sqrt[(1 - 2^(2/3)*(2 - 3*x + x^2)^(1/3) + 2*2^(1/3)*(2 - 3*x + x^2)^(2/3))/(
1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))^2]*EllipticF[ArcSin[(1 - Sqrt[3] +
2^(2/3)*(2 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))], -
7 - 4*Sqrt[3]])/(2^(5/6)*3^(1/4)*(3 - 2*x)*Sqrt[(3 - 2*x)^2]*(1 - x)^(1/3)*(2 -
x)^(1/3)*Sqrt[(1 + 2^(2/3)*(2 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*
x + x^2)^(1/3))^2]) + (3*Log[-(1 - x)^(1/3) + (2 - x)^(2/3)/2^(2/3)])/(8*2^(1/3)
) - Log[x]/(4*2^(1/3))

_______________________________________________________________________________________

Rubi [A]  time = 1.03201, antiderivative size = 796, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.364 \[ -\frac{\sqrt{3} \tan ^{-1}\left (\frac{\sqrt [3]{2} (2-x)^{2/3}}{\sqrt{3} \sqrt [3]{1-x}}+\frac{1}{\sqrt{3}}\right )}{4 \sqrt [3]{2}}+\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{4 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}-\frac{\sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{2^{5/6} \sqrt [4]{3} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{3 \log \left (\frac{(2-x)^{2/3}}{2^{2/3}}-\sqrt [3]{1-x}\right )}{8 \sqrt [3]{2}}-\frac{\log (x)}{4 \sqrt [3]{2}}-\frac{(1-x)^{2/3} (2-x)^{2/3}}{2 x}-\frac{\sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{2 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )} \]

Warning: Unable to verify antiderivative.

[In]  Int[1/((1 - x)^(1/3)*(2 - x)^(1/3)*x^2),x]

[Out]

-((1 - x)^(2/3)*(2 - x)^(2/3))/(2*x) - (Sqrt[(3 - 2*x)^2]*Sqrt[(-3 + 2*x)^2]*(2
- 3*x + x^2)^(1/3))/(2*2^(1/3)*(3 - 2*x)*(1 - x)^(1/3)*(2 - x)^(1/3)*(1 + Sqrt[3
] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))) - (Sqrt[3]*ArcTan[1/Sqrt[3] + (2^(1/3)*(2 -
x)^(2/3))/(Sqrt[3]*(1 - x)^(1/3))])/(4*2^(1/3)) + (3^(1/4)*Sqrt[2 - Sqrt[3]]*Sqr
t[(-3 + 2*x)^2]*(2 - 3*x + x^2)^(1/3)*(1 + 2^(2/3)*(2 - 3*x + x^2)^(1/3))*Sqrt[(
1 - 2^(2/3)*(2 - 3*x + x^2)^(1/3) + 2*2^(1/3)*(2 - 3*x + x^2)^(2/3))/(1 + Sqrt[3
] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))^2]*EllipticE[ArcSin[(1 - Sqrt[3] + 2^(2/3)*(2
 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))], -7 - 4*Sqrt
[3]])/(4*2^(1/3)*(3 - 2*x)*Sqrt[(3 - 2*x)^2]*(1 - x)^(1/3)*(2 - x)^(1/3)*Sqrt[(1
 + 2^(2/3)*(2 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))^
2]) - (Sqrt[(-3 + 2*x)^2]*(2 - 3*x + x^2)^(1/3)*(1 + 2^(2/3)*(2 - 3*x + x^2)^(1/
3))*Sqrt[(1 - 2^(2/3)*(2 - 3*x + x^2)^(1/3) + 2*2^(1/3)*(2 - 3*x + x^2)^(2/3))/(
1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))^2]*EllipticF[ArcSin[(1 - Sqrt[3] +
2^(2/3)*(2 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*x + x^2)^(1/3))], -
7 - 4*Sqrt[3]])/(2^(5/6)*3^(1/4)*(3 - 2*x)*Sqrt[(3 - 2*x)^2]*(1 - x)^(1/3)*(2 -
x)^(1/3)*Sqrt[(1 + 2^(2/3)*(2 - 3*x + x^2)^(1/3))/(1 + Sqrt[3] + 2^(2/3)*(2 - 3*
x + x^2)^(1/3))^2]) + (3*Log[-(1 - x)^(1/3) + (2 - x)^(2/3)/2^(2/3)])/(8*2^(1/3)
) - Log[x]/(4*2^(1/3))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 36.1556, size = 714, normalized size = 0.9 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/(1-x)**(1/3)/(2-x)**(1/3)/x**2,x)

[Out]

-2**(2/3)*log(x)/8 + 3*2**(2/3)*log(-(-x + 1)**(1/3) + 2**(1/3)*(-x + 2)**(2/3)/
2)/16 - 2**(2/3)*sqrt(3)*atan(sqrt(3)/3 + 2**(1/3)*sqrt(3)*(-x + 2)**(2/3)/(3*(-
x + 1)**(1/3)))/8 - 2**(2/3)*(x**2 - 3*x + 2)**(1/3)*sqrt(4*x**2 - 12*x + 9)*sqr
t((2*x - 3)**2)/(4*(-2*x + 3)*(-x + 1)**(1/3)*(-x + 2)**(1/3)*(2**(2/3)*(x**2 -
3*x + 2)**(1/3) + 1 + sqrt(3))) + 2**(2/3)*3**(1/4)*sqrt((2*2**(1/3)*(x**2 - 3*x
 + 2)**(2/3) - 2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1)/(2**(2/3)*(x**2 - 3*x + 2)*
*(1/3) + 1 + sqrt(3))**2)*sqrt(-sqrt(3) + 2)*(2**(2/3)*(x**2 - 3*x + 2)**(1/3) +
 1)*(x**2 - 3*x + 2)**(1/3)*sqrt((2*x - 3)**2)*elliptic_e(asin((2**(2/3)*(x**2 -
 3*x + 2)**(1/3) - sqrt(3) + 1)/(2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1 + sqrt(3))
), -7 - 4*sqrt(3))/(8*sqrt((2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1)/(2**(2/3)*(x**
2 - 3*x + 2)**(1/3) + 1 + sqrt(3))**2)*(-2*x + 3)*(-x + 1)**(1/3)*(-x + 2)**(1/3
)*sqrt(4*x**2 - 12*x + 9)) - 2**(1/6)*3**(3/4)*sqrt((2*2**(1/3)*(x**2 - 3*x + 2)
**(2/3) - 2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1)/(2**(2/3)*(x**2 - 3*x + 2)**(1/3
) + 1 + sqrt(3))**2)*(2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1)*(x**2 - 3*x + 2)**(1
/3)*sqrt((2*x - 3)**2)*elliptic_f(asin((2**(2/3)*(x**2 - 3*x + 2)**(1/3) - sqrt(
3) + 1)/(2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1 + sqrt(3))), -7 - 4*sqrt(3))/(6*sq
rt((2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1)/(2**(2/3)*(x**2 - 3*x + 2)**(1/3) + 1
+ sqrt(3))**2)*(-2*x + 3)*(-x + 1)**(1/3)*(-x + 2)**(1/3)*sqrt(4*x**2 - 12*x + 9
)) - (-x + 1)**(2/3)*(-x + 2)**(2/3)/(2*x)

_______________________________________________________________________________________

Mathematica [C]  time = 0.451533, size = 219, normalized size = 0.28 \[ \frac{(1-x)^{2/3} \left (-\frac{50 F_1\left (\frac{2}{3};\frac{1}{3},1;\frac{5}{3};x-1,1-x\right )}{5 F_1\left (\frac{2}{3};\frac{1}{3},1;\frac{5}{3};x-1,1-x\right )-(x-1) \left (3 F_1\left (\frac{5}{3};\frac{1}{3},2;\frac{8}{3};x-1,1-x\right )-F_1\left (\frac{5}{3};\frac{4}{3},1;\frac{8}{3};x-1,1-x\right )\right )}+\frac{8 (x-1) F_1\left (\frac{5}{3};\frac{1}{3},1;\frac{8}{3};x-1,1-x\right )}{(x-1) \left (3 F_1\left (\frac{8}{3};\frac{1}{3},2;\frac{11}{3};x-1,1-x\right )-F_1\left (\frac{8}{3};\frac{4}{3},1;\frac{11}{3};x-1,1-x\right )\right )-8 F_1\left (\frac{5}{3};\frac{1}{3},1;\frac{8}{3};x-1,1-x\right )}+5 (x-2)\right )}{10 \sqrt [3]{2-x} x} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[1/((1 - x)^(1/3)*(2 - x)^(1/3)*x^2),x]

[Out]

((1 - x)^(2/3)*(5*(-2 + x) - (50*AppellF1[2/3, 1/3, 1, 5/3, -1 + x, 1 - x])/(5*A
ppellF1[2/3, 1/3, 1, 5/3, -1 + x, 1 - x] - (-1 + x)*(3*AppellF1[5/3, 1/3, 2, 8/3
, -1 + x, 1 - x] - AppellF1[5/3, 4/3, 1, 8/3, -1 + x, 1 - x])) + (8*(-1 + x)*App
ellF1[5/3, 1/3, 1, 8/3, -1 + x, 1 - x])/(-8*AppellF1[5/3, 1/3, 1, 8/3, -1 + x, 1
 - x] + (-1 + x)*(3*AppellF1[8/3, 1/3, 2, 11/3, -1 + x, 1 - x] - AppellF1[8/3, 4
/3, 1, 11/3, -1 + x, 1 - x]))))/(10*(2 - x)^(1/3)*x)

_______________________________________________________________________________________

Maple [F]  time = 0.128, size = 0, normalized size = 0. \[ \int{\frac{1}{{x}^{2}}{\frac{1}{\sqrt [3]{1-x}}}{\frac{1}{\sqrt [3]{2-x}}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/(1-x)^(1/3)/(2-x)^(1/3)/x^2,x)

[Out]

int(1/(1-x)^(1/3)/(2-x)^(1/3)/x^2,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x^{2}{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="maxima")

[Out]

integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)), x)

_______________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="fricas")

[Out]

Timed out

_______________________________________________________________________________________

Sympy [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(1-x)**(1/3)/(2-x)**(1/3)/x**2,x)

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x^{2}{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="giac")

[Out]

integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)), x)